import request from "../request"
import { DocumentResponseData } from "./type"

enum API {
    GETDOCUMENT_URL = '/document' // 获取文档接口
}

// 获取接口文档接口
export const reqGetDocument = (type: string) => request<DocumentResponseData, any>({ url: API.GETDOCUMENT_URL, method: 'get', params: { type} })   